﻿using Pattern05建构者模式.Interface;
using Pattern05建构者模式.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern05建构者模式.Builders
{
    public class GalaxyS24Builder : Builder
    {
        public GalaxyS24Builder() 
        {
            base.Phone = new SamsungPhone();
        }
        public override void BuildBattery()
        {
            Phone.Battery = "电池：6000mAh";
        }

        public override void BuildCamera()
        {
            Phone.Camera = "摄像头：后置10000W像素";
        }

        public override void BuildCPU()
        {
            Phone.CPU = "芯片：66核CPU";
        }

        public override void BuildMemory()
        {
            Phone.Memory= "存储：16G+1024G";
        }

        public override void BuildScreen()
        {
            Phone.Screen= "屏幕：8.5英寸";
        }
    }
}
